/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.basic.safe.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.hopes.bizz.common.core.annotation.ExcelDictValidate;
import com.hopes.boss.common.entity.ExcelVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 项目三同时管理
 *
 * @author pig
 * @date 2023-10-30 09:59:17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ColumnWidth(30)
public class BaseThreeMeantimeExcelVO extends ExcelVO {

    private static final long serialVersionUID = 1L;


    /**
     * 机构ID
     */
    @ExcelProperty("企业")
    @ExcelDictValidate(enumResolver = "sys_company")
    private String orgIdStr;

    /**
     * 项目名称
     */
    @ExcelProperty("项目名称")
    private String projectName;

    /**
     * 项目编号
     */
    @ExcelProperty("项目编号")
    private String projectCode;

    /**
     * 项目负责人
     */
    @ExcelProperty("项目负责人")
    private String projectPrincipal;

    /**
     * 项目类别
     */
    @ExcelProperty("项目类别")
    @ExcelDictValidate(enumResolver = "project_type")
    private String projectTypeStr;

    /**
     * 总投资
     */
    @ExcelProperty("总投资")
    private Double projectInvest;

    /**
     * 建设日期
     */
    @ExcelProperty("建设日期")
    @DateTimeFormat("yyyy-MM-dd")
    private Date constructDate;

    /**
     * 截止日期
     */
    @ExcelProperty("截止日期")
    @DateTimeFormat("yyyy-MM-dd")
    private Date completeDate;

    /**
     * 建设单位
     */
    @ExcelProperty("建设单位")
    private String constructUnit;

    /**
     * 建设地点
     */
    @ExcelProperty("建设地点")
    private String constructAddr;

    /**
     * 建设范围
     */
    @ExcelProperty("建设范围")
    private String constructScope;

    /**
     * 项目状态  1:填报中 2:审核中 3:审核通过 4:审核不通过 5:进行中 6:竣工验收 7:归档
     */
    @ExcelProperty("项目状态")
    @ExcelDictValidate(enumResolver = "audit_status")
    private String projectStatusStr;

    /**
     * 项目进度
     */
    @ExcelProperty("项目进度")
    @ExcelDictValidate(enumResolver = "project_plan")
    private String planStatusStr;

    /**
     * 项目描述
     */
    @ExcelProperty("项目描述")
    private String projectDesc;

    /**
     * 备注
     */
    @ExcelProperty("备注")
    private String remark;


}
